
#ifndef _LEVEL_H
#define _LEVEL_H

#include <iostream>
#include <fstream>
#include "CBloco.h"

class Level {
	
	private:
		int level;
		CBloco normalBrick;
		CBloco solidBrick;

		bool onLoad(char *file);
		bool onLoad(int lv);

	public:
		Level();
		
		static std::vector<CBloco> blocosList;
		static int objectiveBricks;

		bool setLevel(int lv);
		bool nextLevel();
		int getCurrentLevel();
		bool onInit();
		void onLoop();
		void onRender(SDL_Surface* destSurface);
		void onCleanup();
};

#endif